package com.huage.courseplatform.application.model.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.huage.courseplatform.framework.model.entity.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("hg_homework")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value="课后作业响应参数",description="课后作业响应参数")
public class HomeworkDTO extends BaseEntity<HomeworkDTO> implements Serializable {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "课时id")
    private String periodId;

    @ApiModelProperty(value = "课后作业内容")
    private String content;

    @ApiModelProperty(value = "标题")
    private String title;


}
